package com.rshare.cloud.rspub;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 标题、简要说明. <br>
 * 类详细说明.
 * <p>
 * Copyright: Copyright (c) 2017年4月25日 下午1:12:16
 * <p>
 * Company: 苏州罗想软件有限公司
 * <p>
 * @author yi.zhang@roadshare.com
 * @version 1.0.0
 */
@RestController
//@EnableAutoConfiguration
//@ComponentScan
@SpringBootApplication
public class MainApplication {
    @RequestMapping("/")
    String home() {
        return "Welcome RSC Pub!";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(MainApplication.class, args);
    }
}
